import UIKit

@available(iOS, introduced: 8.0, deprecated: 11.0, message: "UIDocumentMenuViewController is deprecated. Use UIDocumentPickerViewController directly.")
extension QKC where AA :UIDocumentMenuViewController {
     open func delegate_qk_s(_ delegate:  UIDocumentMenuDelegate?) -> QKC<AA,YY,ZZ, UIDocumentMenuDelegate?>{
		return link(next: delegate).then_QK { $0.value.delegate = delegate }
	}
     open func delegate_qk_g() -> QKC<AA,YY,ZZ, UIDocumentMenuDelegate?>{
		 self +^ self.value.delegate
	}

    open func addOption_qk_f(withTitle title: String, image: UIImage?, order: UIDocumentMenuOrder, handler: @escaping () -> Void) -> QKC<AA,YY,ZZ, String>{
		 self +^ self.value.addOption(withTitle:title, image:image, order:order, handler:handler) +^ title
	}

}

